#!/bin/bash

run_qemu="qemu"
run_bochs="bochs"

echo ""

if [ "$1" = "${run_qemu}" ]
then
	echo "Running kernel with QEMU..."
	qemu -fda bin/floppy.img -std-vga
fi

if [ "$1" = "${run_bochs}" ]
then
	echo "Running kernel with Bochs..."
	bochs
fi

if [ -z "$1" ]
then
	echo "Usage:"
	echo "run [bochs|qemu]"
fi

echo ""
